package org.jfunction.parser;


public class Problem {

	private int lineNumber;
	private ProblemType problem;

	public Problem(int lineNumber, ProblemType problem) {
		this.lineNumber = ++lineNumber; // JFace uses 0-based lines
		this.problem = problem;
	}
	
	public int getLineNumber() {
		return lineNumber;
	}
	
	public ProblemType getProblemType() {
		return problem;
	}
}